<template>
  <div class="effect">
    <div class="kb-title">
      <span class="title-word">效果评价</span>
      <span class="title-word-en">Effect&nbsp;Evaluation</span>
    </div>
    <div class="u-flex right-box2 u-row-between">
      <div class="item">
        <div class="name">
          版权认证/次
        </div>
        <CountTo :start-val="0" :end-val="dataFrom.copyrightCertification" :duration="2000"></CountTo>
      </div>
      <div class="item">
        <div class="name">
          奖补数量
        </div>
        <CountTo :start-val="0" :end-val="dataFrom.rewardNum" :duration="2000"></CountTo>
      </div>
      <div class="item">
        <div class="name">
          奖补金额/万
        </div>
        <CountTo :start-val="0" :end-val="dataFrom.rewardAmount" :duration="2000"></CountTo>
      </div>
    </div>
  </div>
</template>

<script>
import dataFrom from '@/assets/json/effectEevaluation.json'
import CountTo from 'vue-count-to'
export default {
  components: {
    CountTo
  },
  data(){
    return {
      dataFrom: dataFrom
    }
  }
}
</script>

<style lang="less">
  .effect{
    margin-top: 30px;
  }
  .right-box2{
    text-align: center;
    margin: 0 20px;
    padding-top: 20px;
    .item{
      color: rgba(17,108,146,1);
      font-size: 27px;
      .name{
        color: rgba(17,108,146,0.8);
        font-size: 16px;
        margin-bottom: 8px;
      }
      span{
        font-weight: bold;
      }
    }
  }
</style>
